package xuanke;

public class Test {
	public static void main(String[] args) {
		Student s1 = new Student(1001, "池青", "男");
		Student s2 = new Student(1002, "解临", "男");

		Teacher t1 = new Teacher(2001, "苏老师", "女");
		Teacher t2 = new Teacher(2002, "季老师", "男");
		Kecheng c1 = new Kecheng(2021310889,"犯罪心理", t1,"09:00-11:40", "3201");
		Kecheng c2 = new Kecheng(2021310889,"解剖学",t2, "15:30-17:10", "1107");

		s1.selectclass(c2);
		System.out.println(c2);
        System.out.println("============");

		s2.selectclass(c1);
		System.out.println(c1);
        System.out.println("============");

		s1.selectclass(c2);
		System.out.println(c2);
		System.out.println("============");
		s2.selectclass(c1);
		System.out.println(c1);
		
       }

}

